<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>电子科技大学成都研究院</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet"
	href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css">
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}"
	href="/css/bootstrap.min.css">
<link rel="stylesheet" th:href="@{/css/mystyle.css}"
	href="/css/mystyle.css">
<script th:src="@{/js/jquery.min.js}" src="/js/jquery.min.js"></script>
<script th:src="@{/js/myscipt.js}" src="/js/myscipt.js"></script>
<script th:src="@{/js/bootstrap.min.js}" src="/js/bootstrap.min.js"></script>
<title>电子科技大学成都研究院</title>
<style type="text/css">
@font-face {
	font-family: 'iconfont';
	th: src="@{/css/iconfont/iconfont.woff}";
	th: src="@{/css/iconfont/iconfont.ttf}";
	src: url('/css/iconfont/iconfont.eot');
	src: url('/css/iconfont/iconfont.eot?#iefix')
		format('embedded-opentype'), url('/css/iconfont/iconfont.woff')
		format('woff'), url('/css/iconfont/iconfont.ttf') format('truetype'),
		url('/css/iconfont/iconfont.svg#iconfont') format('svg');
}

.iconfont {
	font-family: "iconfont" !important;
	font-size: 30px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: 0.2px;
	-moz-osx-font-smoothing: grayscale;
}

.mynav-item a {
	background-color: #dcdde1;
	color: #63666b
}

.mynav-item a.active {
	background-color: #005bac;
	color: white;
}

.myul {
	list-style: none;
	padding: 0px;
	margin: 0px
}

.myul li {
	line-height: 16px;
	font-size: 14px;
	color: #474545;
	padding: 5px 0;
}

.myul li a {
	color: #474545
}

.myul li a:hover, .mylink:hover {
	color: #f39800
}

.mylink {
	color: #888;
}

.mylink2:hover {
	color: #f39800
}

.mylink2 {
	color: #474545;
	font-size: 15px
}

.mynavbar li a:hover {
	color: #f39800
}

.mynavbar li a {
	color: #474545
}

.my-small-slider ul {
	list-style: none;
	padding-left: 20px;
	font-size: 14px;
	width: 70%;
	margin-bottom: 0px;
	height: 32px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: white;
}

.my-small-slider ul li {
	line-height: 32px
}

.my-small-slider ul li a {
	color: white;
	text-decoration: none;
}

.my-small-slider ul li a:hover {
	color: #f39800
}
</style>
</head>
<body>
	<header th:replace="~{templates/header::.container-fluid}"> </header>
	<!-- 轮播图 -->
	<div class="container slide">
		<div id="carouselExample1" class="carousel slide" data-ride="carousel">
			<ol class="carousel-indicators">
				<li data-target="#carouselExample1" th:each="item:${sliderList}"
					th:data-slide-to="${itemStat.index}"
					th:class="${itemStat.index}==0?'active':''"></li>
			</ol>
			<div class="carousel-inner">
				<div class="carousel-item" th:each="item:${sliderList}"
					th:class="${itemStat.index}==0?'carousel-item active':'carousel-item'">
					<img class="img-fluid d-block w-100" style="height: 430px"
						th:src="@{${item.pictureUrl}}">
				</div>
			</div>
		</div>
	</div>
	<div class="container" style="margin-top: 30px">
		<div class="row">
			<div class="col-lg-6 col-md-6">
				<!-- 图文 -->
				<div id="carouselExample2" class="carousel slide border"
					data-ride="carousel"
					style="height: 300px; flex: none; width: whatever; position: relative;">
					<div class="carousel-inner">
						<div class="carousel-item" th:each="item:${focusNews}"
							th:classappend="${itemStat.index}==0?'active':''">
							<a th:href="@{'/detail/0/'+${item.id}}"> <img class="d-block"
								style="height: 300px; width: 100%"
								th:src="@{${item.focusPicture}}" alt="学校启动2018“平安成电”安全教育月活动"></a>
						</div>
					</div>
					<div class="my-small-slider"
						style="width: 100%; height: 32px; position: absolute; left: 0; top: 268px; background-color: rgba(0, 0, 0, 0.5);">
						<ul>
							<li th:each="item:${focusNews}"
								th:styleappend="${itemStat.index}==0?'display:inline':'display: none'">
								<a th:text="${item.title}" th:href="@{'/detail/0/'+${item.id}}">学校启动2018“平安成电”安全教育月活动1</a>
							</li>
						</ul>
						<ol class="carousel-indicators"
							style="width: 30%; margin: 0px; height: 32px; left: 70%; bottom: 0;">
							<li style="width: 10px; top: 50%; margin-top: -1.5px"
								data-target="#carouselExample2" data-slide-to="0"
								th:each="item:${focusNews}" th:data-slide-to="${itemStat.index}"
								th:classappend="${itemStat.index}==0?'active':''"></li>
						</ol>
					</div>
				</div>
			</div>
			<div class="col-lg-6 col-md-6">
				<div class="row">
					<div class="col-lg-10 col-md-10 col-sm-10"
						style="padding-right: 0px">
						<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist"
							style="float: left">
							<li class="nav-item mynav-item"><a class="nav-link active"
								id="pills-1-tab" data-toggle="pill" href="#pills-1" role="tab"
								aria-controls="pills-1" aria-selected="true"
								style="background-color: #005bac; padding: 5px 10px 5px 10px; border-right: thin solid #F7F5F4; border-radius: 0; color: white"><span
									id="f-14">综合新闻</span> <i class="fa fa-caret-down"
									style="position: absolute; bottom: 6px; left: 48.93px; color: #005bac"></i></a></li>
							<li class="nav-item mynav-item"><a class="nav-link"
								id="pills-2-tab" data-toggle="pill" href="#pills-2" role="tab"
								aria-controls="pills-2" aria-selected="false"
								style="background-color: #dcdde1; padding: 5px 10px 5px 10px; border-right: thin solid #F7F5F4; border-radius: 0; color: #63666b"><span
									id="f-14">项目动态</span><i class="fa fa-caret-down"
									style="position: absolute; bottom: 6px; left: 125.93px; color: #005bac; visibility: hidden;"></i></a></li>
							<li class="nav-item mynav-item"><a class="nav-link"
								id="pills-3-tab" data-toggle="pill" href="#pills-3" role="tab"
								aria-controls="pills-3" aria-selected="false"
								style="background-color: #dcdde1; padding: 5px 10px 5px 10px; border-right: thin solid #F7F5F4; border-radius: 0; color: #63666b"><span
									id="f-14">合作交流</span><i class="fa fa-caret-down"
									style="position: absolute; bottom: 6px; left: 202.93px; color: #005bac; visibility: hidden; visibility: hidden;"></i></a></li>
							<li class="nav-item mynav-item"><a class="nav-link"
								id="pills-4-tab" data-toggle="pill" href="#pills-4" role="tab"
								aria-controls="pills-4" aria-selected="false"
								style="background-color: #dcdde1; padding: 5px 10px 5px 10px; border-right: thin solid #F7F5F4; border-radius: 0; color: #63666b"><span
									id="f-14">孵化企业</span><i class="fa fa-caret-down"
									style="position: absolute; bottom: 6px; left: 279.93px; color: #005bac; visibility: hidden;"></i></a></li>
							<li class="nav-item mynav-item"><a class="nav-link"
								id="pills-5-tab" data-toggle="pill" href="#pills-5" role="tab"
								aria-controls="pills-5" aria-selected="false"
								style="background-color: #dcdde1; padding: 5px 10px 5px 10px; border-radius: 0; color: #63666b"><span
									id="f-14">党群建设</span><i class="fa fa-caret-down"
									style="position: absolute; bottom: 6px; left: 356.93px; color: #005bac; visibility: hidden;"></i></a></li>
							<li class="nav-item mynav-item"><a class="nav-link"
								id="pills-6-tab" data-toggle="pill" href="#pills-6" role="tab"
								aria-controls="pills-6" aria-selected="false"
								style="background-color: #dcdde1; padding: 5px 10px 5px 10px; border-radius: 0; color: #63666b"><span
									id="f-14">通知公告</span><i class="fa fa-caret-down"
									style="position: absolute; bottom: 6px; left: 433.93px; color: #005bac; visibility: hidden;"></i></a></li>
						</ul>
					</div>
					<div class="col-lg-2 col-md-2 col-sm-2">
						<a class="mylink" style="float: right; padding-top: 6px"
							th:href="@{/news/0}" href="/news" id="f-14"> 更多> </a>

					</div>
				</div>
				<div class="row" style="height: 250px; overflow: hidden;">
					<div class="col-lg-12 col-md-12 col-sm-12 tab-content"
						id="pills-tabContent" style="padding: 0 15px 0 15px;">
						<div class="tab-pane" th:each="list : ${newsMap}"
							th:id="'pills-'+${list.key}"
							th:aria-labelledby="'pills-'+${list.key}+'-tab'"
							th:class="${list.key}==1?'tab-pane show active':'tab-pane'"
							style="background-color: white;">
							<ul class="myul"
								style="padding: 15px 25px 15px 25px; height: 250px; margin: 0px">
								<li th:each="item:${list.value}"><i
									class="fa fa-caret-right"></i><a
									th:href="@{'/detail/'+${item.categoryId}+'/'+${item.id}}"
									href="/detail" th:text="${item.title}"
									style="padding-left: 10px; display: inline-block; overflow: hidden; max-width: 80%; text-overflow: ellipsis; white-space: nowrap;">担负新使命
										聚焦新任务 把握新要求</a><span
									th:text="${#dates.format(item.createTime, 'yyyy-MM-dd')}"
									style="float: right; color: #aaa">2018-03-06</span></li>
							</ul>
						</div>
						<div class="tab-pane" th:id="pills-5"
							th:aria-labelledby="pills-5-tab" style="background-color: white;">
							<ul class="myul"
								style="padding: 15px 25px 15px 25px; height: 250px; margin: 0px">
								<li th:each="item:${partList}"><i class="fa fa-caret-right"></i><a
									th:href="@{'/partydetail/'+${item.id}}" href="/detail"
									th:text="${item.title}"
									style="padding-left: 10px; display: inline-block; overflow: hidden; max-width: 80%; text-overflow: ellipsis; white-space: nowrap;">担负新使命
										聚焦新任务 把握新要求</a><span
									th:text="${#dates.format(item.createTime, 'yyyy-MM-dd')}"
									style="float: right; color: #aaa">2018-03-06</span></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="container" style="margin-top: 30px">
		<div class="row">
			<div class="col-lg-6 col-md-6"
				style="width: 470px; text-align: center;">
				<!-- 				<div class="row" style="height: 30px; margin: 0 0.1px 0 0.1px">
					<div class="col-1"
						style="height: 30px; border: thin solid #c9ccd0; border-top: none; border-left: none"></div>
					<div class="col-3"
						style="height: 30px; border: thin solid #c9ccd0; border-bottom: none; border-left: none; color: #f39800; font-size: 16px">
						业务板块</div>
					<div class="col-8"
						style="height: 30px; border: thin solid #c9ccd0; border-top: none; border-left: none; border-right: none; text-align: right;">
						<a id="f-14" class="mylink">更多></a>
					</div>
				</div> -->
				<div style="padding: 0 15px 0 15px; height: 130px;">
					<div
						style="float: left; height: 100%; border: thin solid #28A700; width: 48%">
						<a class="mylink2" th:href="@{/services/0}" href="/services/0">
							<span
							style="width: 30%; height: 100%; background-color: #28A700; display: block; float: left; position: relative;"><i
								class="iconfont"
								style="color: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">&#xe635;</i></span>
							<span
							style="width: 70%; height: 100%; display: block; float: left; padding-top: 50px;"><b>技术创新</b></span>
						</a>
					</div>
					<div
						style="float: right; height: 100%; border: thin solid #17A2B8; width: 48%">
						<a class="mylink2" th:href="@{/services/1}" href="/services/1">
							<span
							style="width: 30%; height: 100%; background-color: #17A2B8; display: block; float: left; position: relative;"><i
								class="iconfont"
								style="color: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">&#xe646;</i></span>
							<span
							style="width: 70%; height: 100%; display: block; float: left; padding-top: 50px"><b>科技工程</b></span>
						</a>
					</div>
				</div>
				<div style="padding: 0 15px 0 15px; height: 130px; margin-top: 20px">
					<div
						style="float: left; height: 100%; border: thin solid #FD7E14; width: 48%">
						<a class="mylink2" th:href="@{/services/2}" href="/services/2">
							<span
							style="width: 30%; height: 100%; background-color: #FD7E14; display: block; float: left; position: relative;"><i
								class="iconfont"
								style="color: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">&#xe617;</i></span>
							<span
							style="width: 70%; height: 100%; display: block; float: left; padding-top: 50px"><b>教育培训
							</b></span>
						</a>
					</div>
					<div
						style="float: right; height: 100%; border: thin solid #DC3545; width: 48%">
						<a class="mylink2" th:href="@{/services/3}" href="/services/3">
							<span
							style="width: 30%; height: 100%; background-color: #DC3545; display: block; float: left; position: relative;"><i
								class="iconfont"
								style="color: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">&#xe69b;</i></span>
							<span
							style="width: 70%; height: 100%; display: block; float: left; padding-top: 50px"><b>科技服务</b></span>
						</a>
					</div>
				</div>
			</div>
			<div class="col-lg-6 col-md-6">
				<div class="row" style="text-align: center;">
					<a th:href="@{/aboutus/0}" style="margin: 0 auto;"><img
						th:src="@{/imgs/QQ图片20180329234728.png}"
						src="/imgs/QQ图片20180329234728.png" style="height: 280px;width: calc(100% - 60px)"></a>
				</div>
			</div>

		</div>
	</div>
<!-- 	<div class="container" style="margin-top: 30px">
		<div class="row">
			<div class="col-lg-6 col-md-6">
				<div class="row" style="text-align: center;">
					<a th:href="@{/news/4}" style="margin: 0 auto;"><img
						th:src="@{/imgs/fuhuaqiye.jpg}" src="/imgs/fuhuaqiye.jpg"
						style="height: 280px;width: calc(100% - 60px)"></a>
				</div>
			</div>
			<div class="col-lg-6 col-md-6">
				<div class="row" style="text-align: center;">
					<a th:href="@{/research-platform/1}" style="margin: 0 auto;"><img
						th:src="@{/imgs/keyanpingtai.jpg}" src="/imgs/keyanpingtai.jpg"
						style="height: 280px;width: calc(100% - 60px)"></a>
				</div>
			</div>
		</div>
	</div> -->
	<footer
		style="height: 180px; width: 100%; background-color: #DEDEDE; margin-top: 30px"
		th:insert="~{templates/footer::.container}"> </footer>
	<script type="text/javascript">
		$(document).ready(
				function() {
					//显示对应的内容
					$('#pills-tab a').hover(function() {
						$(this).tab('show');
					}, function() {
						//移除不操作
					});
					//点击轮播图切换字幕
					$(".my-small-slider ol li").click(function() {
						var index = $(this).attr("data-slide-to");
						var mUl = $(".my-small-slider ul");
						mUl.find("li").css("display", "none");
						var mLi = mUl.children().eq(index);
						mLi.css("display", "inline");
					});
					//鼠标悬浮变颜色
					$(".my-small-slider ul li").hover(function() {
						$(".my-small-slider ul").css("color", "#f39800");
					}, function() {
						$(".my-small-slider ul").css("color", "white");
					})
					var lastIndex = 0;
					setInterval(function() {
						var currentIndex = $(".my-small-slider ol li.active")
								.attr("data-slide-to");
						if (lastIndex != currentIndex) {
							var mUl = $(".my-small-slider ul");
							mUl.find("li").css("display", "none");
							var mLi = mUl.children().eq(currentIndex);
							mLi.css("display", "inline");
							lastIndex = currentIndex;
						}
					}, 1200);
				});
	</script>
</body>
</html>